package cn.gok.springbootdemo06;

/**
 * @author: chen fan
 * @since: 2022/11/16 16:18
 * @description:
 */
public class User {
    private String userName;
    private String password;

    public User setUserName(String userName) {
        this.userName = userName;
        return this;
    }

    public User setPassword(String password) {
        this.password = password;
        return this;
    }

    public static void main(String[] args) {
        User user = new User();
        user.setUserName("张三")
                .setPassword("121314");
    }
}
